package com.ck.model.common.bo;

import java.io.Serializable;

/**
 * 
 * <p>Title: DeviceReportBO</p>  
 * <p>Description: 终端上报信息BO</p>  
 * @author huangf 
 * @date 2018年7月18日
 */
public class DeviceReportBO implements Serializable {
	private static final long serialVersionUID = 1L;
	/** 商家编码 */
	private String companyCode;
	/** deviceCode */
	private String deviceCode;
	/** mac地址 */
	private String deviceMac;
	/** 终端内网IP */
	private String intranetIP;
	/** 终端外网IP */
	private String externalIP;
	/** 终端状态 */
	private Integer deviceStatus;
	/** 终端持续工作时长（小时） */
	private Integer continuousWorkingHours;
	/** 终端最近一次开启时间 */
	private Long lastRebootTime;
	/** 终端最近一次上报时间 */
	private Long lastReportTime;
	
	// 以下为节目信息
	/** 当前播放节目列表（节目版本号） */
	private String currentPlayingProgramVer;
	/** 等待播放节目列表（节目版本号） */
	private String waitPlayProgramVer;
	/** 当前下载节目列表（节目版本号） */
	private String currentDownloadingProgramVer;
	
	// 以下为网络相关信息
	/** modemSn */
	private String modemSn;
	/** modemImei */
    private String modemImei;
    /** modem网络类型 */
    private String modemNetworkType;
    /** modem信号强度 */
    private String modemSignalStrength;
    /** modem发送总字节数 */
    private String modemSendBytes;
    /** modem接收总字节数 */
    private String modemReceivedBytes;
    /** modem最近一次登录时间 */
    private Long modemLastLoginTime;
    /** modem接收平均速度 */
    private String receivingAverageSpeed;
    /** 历史总流量 */
    private Long historyTotalFlow;
    /** sim是否在位 */
    private Boolean simIsReign;
    /** simIccid */
    private String simIccid;
    /** simImei */
    private String simImei;
	public String getCompanyCode() {
		return companyCode;
	}

	public String getDeviceCode() {
		return deviceCode;
	}

	public void setDeviceCode(String deviceCode) {
		this.deviceCode = deviceCode;
	}

	public void setCompanyCode(String companyCode) {
		this.companyCode = companyCode;
	}

	public String getDeviceMac() {
		return deviceMac;
	}

	public void setDeviceMac(String deviceMac) {
		this.deviceMac = deviceMac;
	}

	public String getIntranetIP() {
		return intranetIP;
	}

	public void setIntranetIP(String intranetIP) {
		this.intranetIP = intranetIP;
	}

	public String getExternalIP() {
		return externalIP;
	}

	public void setExternalIP(String externalIP) {
		this.externalIP = externalIP;
	}

	public Integer getDeviceStatus() {
		return deviceStatus;
	}

	public void setDeviceStatus(Integer deviceStatus) {
		this.deviceStatus = deviceStatus;
	}

	public Integer getContinuousWorkingHours() {
		return continuousWorkingHours;
	}

	public void setContinuousWorkingHours(Integer continuousWorkingHours) {
		this.continuousWorkingHours = continuousWorkingHours;
	}

	public Long getLastRebootTime() {
		return lastRebootTime;
	}

	public void setLastRebootTime(Long lastRebootTime) {
		this.lastRebootTime = lastRebootTime;
	}

	public Long getLastReportTime() {
		return lastReportTime;
	}

	public void setLastReportTime(Long lastReportTime) {
		this.lastReportTime = lastReportTime;
	}
	
	public String getCurrentPlayingProgramVer() {
		return currentPlayingProgramVer;
	}

	public void setCurrentPlayingProgramVer(String currentPlayingProgramVer) {
		this.currentPlayingProgramVer = currentPlayingProgramVer;
	}

	public String getWaitPlayProgramVer() {
		return waitPlayProgramVer;
	}

	public void setWaitPlayProgramVer(String waitPlayProgramVer) {
		this.waitPlayProgramVer = waitPlayProgramVer;
	}

	public String getCurrentDownloadingProgramVer() {
		return currentDownloadingProgramVer;
	}

	public void setCurrentDownloadingProgramVer(String currentDownloadingProgramVer) {
		this.currentDownloadingProgramVer = currentDownloadingProgramVer;
	}
	
	public String getModemSn() {
		return modemSn;
	}

	public void setModemSn(String modemSn) {
		this.modemSn = modemSn;
	}

	public String getModemImei() {
		return modemImei;
	}

	public void setModemImei(String modemImei) {
		this.modemImei = modemImei;
	}

	public String getModemNetworkType() {
		return modemNetworkType;
	}

	public void setModemNetworkType(String modemNetworkType) {
		this.modemNetworkType = modemNetworkType;
	}

	public String getModemSignalStrength() {
		return modemSignalStrength;
	}

	public void setModemSignalStrength(String modemSignalStrength) {
		this.modemSignalStrength = modemSignalStrength;
	}

	public String getModemSendBytes() {
		return modemSendBytes;
	}

	public void setModemSendBytes(String modemSendBytes) {
		this.modemSendBytes = modemSendBytes;
	}

	public String getModemReceivedBytes() {
		return modemReceivedBytes;
	}

	public void setModemReceivedBytes(String modemReceivedBytes) {
		this.modemReceivedBytes = modemReceivedBytes;
	}

	public Long getModemLastLoginTime() {
		return modemLastLoginTime;
	}

	public void setModemLastLoginTime(Long modemLastLoginTime) {
		this.modemLastLoginTime = modemLastLoginTime;
	}

	public String getReceivingAverageSpeed() {
		return receivingAverageSpeed;
	}

	public void setReceivingAverageSpeed(String receivingAverageSpeed) {
		this.receivingAverageSpeed = receivingAverageSpeed;
	}

	public Long getHistoryTotalFlow() {
		return historyTotalFlow;
	}

	public void setHistoryTotalFlow(Long historyTotalFlow) {
		this.historyTotalFlow = historyTotalFlow;
	}

	public Boolean getSimIsReign() {
		return simIsReign;
	}

	public void setSimIsReign(Boolean simIsReign) {
		this.simIsReign = simIsReign;
	}

	public String getSimIccid() {
		return simIccid;
	}

	public void setSimIccid(String simIccid) {
		this.simIccid = simIccid;
	}

	public String getSimImei() {
		return simImei;
	}

	public void setSimImei(String simImei) {
		this.simImei = simImei;
	}

	public DeviceReportBO() {
		super();
	}

	public DeviceReportBO(String companyCode, String deviceCode, String deviceMac, String intranetIP, String externalIP, Integer deviceStatus, Integer continuousWorkingHours, Long lastRebootTime, Long lastReportTime, String currentPlayingProgramVer, String waitPlayProgramVer, String currentDownloadingProgramVer, String modemSn, String modemImei, String modemNetworkType, String modemSignalStrength, String modemSendBytes, String modemReceivedBytes, Long modemLastLoginTime, String receivingAverageSpeed, Long historyTotalFlow, Boolean simIsReign, String simIccid, String simImei) {
		super();
		this.companyCode = companyCode;
		this.deviceCode = deviceCode;
		this.deviceMac = deviceMac;
		this.intranetIP = intranetIP;
		this.externalIP = externalIP;
		this.deviceStatus = deviceStatus;
		this.continuousWorkingHours = continuousWorkingHours;
		this.lastRebootTime = lastRebootTime;
		this.lastReportTime = lastReportTime;
		this.currentPlayingProgramVer = currentPlayingProgramVer;
		this.waitPlayProgramVer = waitPlayProgramVer;
		this.currentDownloadingProgramVer = currentDownloadingProgramVer;
		this.modemSn = modemSn;
		this.modemImei = modemImei;
		this.modemNetworkType = modemNetworkType;
		this.modemSignalStrength = modemSignalStrength;
		this.modemSendBytes = modemSendBytes;
		this.modemReceivedBytes = modemReceivedBytes;
		this.modemLastLoginTime = modemLastLoginTime;
		this.receivingAverageSpeed = receivingAverageSpeed;
		this.historyTotalFlow = historyTotalFlow;
		this.simIsReign = simIsReign;
		this.simIccid = simIccid;
		this.simImei = simImei;
	}

	@Override
	public String toString() {
		return "DeviceReportBO{" +
				"companyCode='" + companyCode + '\'' +
				", deviceCode='" + deviceCode + '\'' +
				", deviceMac='" + deviceMac + '\'' +
				", intranetIP='" + intranetIP + '\'' +
				", externalIP='" + externalIP + '\'' +
				", deviceStatus=" + deviceStatus +
				", continuousWorkingHours=" + continuousWorkingHours +
				", lastRebootTime=" + lastRebootTime +
				", lastReportTime=" + lastReportTime +
				", currentPlayingProgramVer='" + currentPlayingProgramVer + '\'' +
				", waitPlayProgramVer='" + waitPlayProgramVer + '\'' +
				", currentDownloadingProgramVer='" + currentDownloadingProgramVer + '\'' +
				", modemSn='" + modemSn + '\'' +
				", modemImei='" + modemImei + '\'' +
				", modemNetworkType='" + modemNetworkType + '\'' +
				", modemSignalStrength='" + modemSignalStrength + '\'' +
				", modemSendBytes='" + modemSendBytes + '\'' +
				", modemReceivedBytes='" + modemReceivedBytes + '\'' +
				", modemLastLoginTime=" + modemLastLoginTime +
				", receivingAverageSpeed='" + receivingAverageSpeed + '\'' +
				", historyTotalFlow=" + historyTotalFlow +
				", simIsReign=" + simIsReign +
				", simIccid='" + simIccid + '\'' +
				", simImei='" + simImei + '\'' +
				'}';
	}
}
